package com.yeyks.hotel.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yun
 * @since 2019-06-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CompanyInfo对象", description="")
public class CompanyInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("gmt_create")
    private Date gmtCreate;

    @TableField("gmt_modified")
    private Date gmtModified;

    @ApiModelProperty(value = "工商登记名称")
    @TableField("biz_name")
    private String bizName;

    @ApiModelProperty(value = "工商营业执照注册号")
    @TableField("biz_no")
    private String bizNo;

    @ApiModelProperty(value = "法定代表人信息")
    @TableField("legal_person_info")
    private String legalPersonInfo;

    @ApiModelProperty(value = "公司负责人信息")
    @TableField("principal_info")
    private String principalInfo;

    @ApiModelProperty(value = "地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "营业执照照片")
    @TableField("extra_info")
    private String extraInfo;


    public static final String ID = "id";

    public static final String GMT_CREATE = "gmt_create";

    public static final String GMT_MODIFIED = "gmt_modified";

    public static final String BIZ_NAME = "biz_name";

    public static final String BIZ_NO = "biz_no";

    public static final String LEGAL_PERSON_INFO = "legal_person_info";

    public static final String PRINCIPAL_INFO = "principal_info";

    public static final String ADDRESS = "address";

    public static final String EXTRA_INFO = "extra_info";

}
